package setting

import (
	"mall_admin_api/biz/dal"
	handlerCommon "mall_admin_api/biz/handler/common"
)

type Setting struct {
	commonInfo *handlerCommon.Response
	dao        *dal.InitDAO
}

func NewSetting(f *handlerCommon.Response) *Setting {
	return &Setting{
		commonInfo: f,
		dao:        dal.NewInitDAO(f.GetBizInfo().ID),
	}
}
